package com.sky.mapper;

import com.sky.entity.OrderDetail;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface OrderDetailMapper {
    /**
     * 批量插入
     * */
    void addBatch(List<OrderDetail> list);
    /**
     * 根据订单id查询
     * */
    List<OrderDetail> getByOrderId(Long id);
}
